var elements = [
	/*
	{
		"id": 原子序数,
		"cn": 元素名称,
		"sym": 元素符号,
		"ram": 相对原子量(取中学精度标准,除Cl外全为整数),
		"gid": 族序数(与传统族符号对应关系见本文件末尾),
		"pr": 周期数,
		"rel": [上, 右, 下, 左(id, 不存在则为0)]
	},
	*/
	{
		"id": 1,
		"cn": "氢",
		"sym": "H",
		"ram": 1,
		"gid": 1,
		"pr": 1,
		"rel": [0, 0, 3, 0]
	},
	{
		"id": 2,
		"cn": "氦",
		"sym": "He",
		"ram": 4,
		"gid": 18,
		"pr": 1,
		"rel": [0, 0, 10, 0]
	},
	{
		"id": 3,
		"cn": "锂",
		"sym": "Li",
		"ram": 7,
		"gid": 1,
		"pr": 2,
		"rel": [1, 4, 11, 0]
	},
	{
		"id": 4,
		"cn": "铍",
		"sym": "Be",
		"ram": 9,
		"gid": 2,
		"pr": 2,
		"rel": [0, 5, 12, 3]
	},
	{
		"id": 5,
		"cn": "硼",
		"sym": "B",
		"ram": 10,
		"gid": 13,
		"pr": 2,
		"rel": [0, 6, 13, 4]
	},
	{
		"id": 6,
		"cn": "碳",
		"sym": "C",
		"ram": 12,
		"gid": 14,
		"pr": 2,
		"rel": [0, 7, 14, 5]
	},
	{
		"id": 7,
		"cn": "氮",
		"sym": "N",
		"ram": 14,
		"gid": 15,
		"pr": 2,
		"rel": [0, 8, 15, 6]
	},
	{
		"id": 8,
		"cn": "氧",
		"sym": "O",
		"ram": 16,
		"gid": 16,
		"pr": 2,
		"rel": [0, 9, 16, 7]
	},
	{
		"id": 9,
		"cn": "氟",
		"sym": "F",
		"ram": 19,
		"gid": 17,
		"pr": 2,
		"rel": [0, 10, 17, 8]
	},
	{
		"id": 10,
		"cn": "氖",
		"sym": "Ne",
		"ram": 20,
		"gid": 18,
		"pr": 2,
		"rel": [2, 0, 18, 0]
	},
	{
		"id": 11,
		"cn": "钠",
		"sym": "Na",
		"ram": 23,
		"gid": 1,
		"pr": 3,
		"rel": [3, 12, 19, 0]
	},
	{
		"id": 12,
		"cn": "镁",
		"sym": "Mg",
		"ram": 24,
		"gid": 2,
		"pr": 3,
		"rel": [4, 13, 20, 11]
	},
	{
		"id": 13,
		"cn": "铝",
		"sym": "Al",
		"ram": 27,
		"gid": 13,
		"pr": 3,
		"rel": [5, 14, 31, 12]
	},
	{
		"id": 14,
		"cn": "硅",
		"sym": "Si",
		"ram": 28,
		"gid": 14,
		"pr": 3,
		"rel": [6, 15, 32, 13]
	},
	{
		"id": 15,
		"cn": "磷",
		"sym": "P",
		"ram": 31,
		"gid": 15,
		"pr": 3,
		"rel": [7, 16, 33, 14]
	},
	{
		"id": 16,
		"cn": "硫",
		"sym": "S",
		"ram": 32,
		"gid": 16,
		"pr": 3,
		"rel": [8, 17, 34, 15]
	},
	{
		"id": 17,
		"cn": "氯",
		"sym": "Cl",
		"ram": 35.5,
		"gid": 17,
		"pr": 3,
		"rel": [9, 18, 35, 16]
	},
	{
		"id": 18,
		"cn": "氩",
		"sym": "Ar",
		"ram": 40,
		"gid": 18,
		"pr": 3,
		"rel": [10, 0, 36, 17]
	},
	{
		"id": 19,
		"cn": "钾",
		"sym": "K",
		"ram": 39,
		"gid": 1,
		"pr": 4,
		"rel": [11, 20, 37, 0]
	},
	{
		"id": 20,
		"cn": "钙",
		"sym": "Ca",
		"ram": 40,
		"gid": 2,
		"pr": 4,
		"rel": [12, 21, 38, 19]
	},
	{
		"id": 21,
		"cn": "钪",
		"sym": "Sc",
		"ram": 45,
		"gid": 3,
		"pr": 4,
		"rel": [0, 22, 39, 20]
	},
	{
		"id": 22,
		"cn": "钛",
		"sym": "Ti",
		"ram": 48,
		"gid": 4,
		"pr": 4,
		"rel": [0, 23, 40, 21]
	},
	{
		"id": 23,
		"cn": "钒",
		"sym": "V",
		"ram": 51,
		"gid": 5,
		"pr": 4,
		"rel": [0, 24, 41, 22]
	},
	{
		"id": 24,
		"cn": "铬",
		"sym": "Cr",
		"ram": 52,
		"gid": 6,
		"pr": 4,
		"rel": [0, 25, 42, 23]
	},
	{
		"id": 25,
		"cn": "锰",
		"sym": "Mn",
		"ram": 55,
		"gid": 7,
		"pr": 4,
		"rel": [0, 26, 43, 24]
	},
	{
		"id": 26,
		"cn": "铁",
		"sym": "Fe",
		"ram": 56,
		"gid": 8,
		"pr": 4,
		"rel": [0, 27, 44, 25]
	},
	{
		"id": 27,
		"cn": "钴",
		"sym": "Co",
		"ram": 59,
		"gid": 9,
		"pr": 4,
		"rel": [0, 28, 45, 26]
	},
	{
		"id": 28,
		"cn": "镍",
		"sym": "Ni",
		"ram": 59,
		"gid": 10,
		"pr": 4,
		"rel": [0, 29, 46, 27]
	},
	{
		"id": 29,
		"cn": "铜",
		"sym": "Cu",
		"ram": 64,
		"gid": 11,
		"pr": 4,
		"rel": [0, 30, 47, 28]
	},
	{
		"id": 30,
		"cn": "锌",
		"sym": "Zn",
		"ram": 65,
		"gid": 12,
		"pr": 4,
		"rel": [0, 31, 48, 29]
	},
	{
		"id": 31,
		"cn": "镓",
		"sym": "Ga",
		"ram": 70,
		"gid": 13,
		"pr": 4,
		"rel": [13, 32, 49, 30]
	},
	{
		"id": 32,
		"cn": "锗",
		"sym": "Ge",
		"ram": 73,
		"gid": 14,
		"pr": 4,
		"rel": [14, 33, 50, 31]
	},
	{
		"id": 33,
		"cn": "砷",
		"sym": "As",
		"ram": 75,
		"gid": 15,
		"pr": 4,
		"rel": [15, 34, 51, 32]
	},
	{
		"id": 34,
		"cn": "硒",
		"sym": "Se",
		"ram": 79,
		"gid": 16,
		"pr": 4,
		"rel": [16, 35, 52, 33]
	},
	{
		"id": 35,
		"cn": "溴",
		"sym": "Br",
		"ram": 80,
		"gid": 17,
		"pr": 4,
		"rel": [17, 36, 53, 34]
	},
	{
		"id": 36,
		"cn": "氪",
		"sym": "Kr",
		"ram": 84,
		"gid": 18,
		"pr": 4,
		"rel": [18, 0, 54, 35]
	},
	{
		"id": 37,
		"cn": "铷",
		"sym": "Rb",
		"ram": 85,
		"gid": 1,
		"pr": 5,
		"rel": [19, 38, 55, 0]
	},
	{
		"id": 38,
		"cn": "锶",
		"sym": "Sr",
		"ram": 88,
		"gid": 2,
		"pr": 5,
		"rel": [20, 39, 56, 37]
	},
	{
		"id": 39,
		"cn": "钇",
		"sym": "Y",
		"ram": 89,
		"gid": 3,
		"pr": 5,
		"rel": [21, 40, 0, 38]
	},
	{
		"id": 40,
		"cn": "锆",
		"sym": "Zr",
		"ram": 91,
		"gid": 4,
		"pr": 5,
		"rel": [22, 41, 72, 39]
	},
	{
		"id": 41,
		"cn": "铌",
		"sym": "Nb",
		"ram": 93,
		"gid": 5,
		"pr": 5,
		"rel": [23, 42, 73, 40]
	},
	{
		"id": 42,
		"cn": "钼",
		"sym": "Mo",
		"ram": 96,
		"gid": 6,
		"pr": 5,
		"rel": [24, 43, 74, 41]
	},
	{
		"id": 43,
		"cn": "锝",
		"sym": "Tc",
		"ram": 98,
		"gid": 7,
		"pr": 5,
		"rel": [25, 44, 75, 42]
	},
	{
		"id": 44,
		"cn": "钌",
		"sym": "Ru",
		"ram": 101,
		"gid": 8,
		"pr": 5,
		"rel": [26, 45, 76, 43]
	},
	{
		"id": 45,
		"cn": "铑",
		"sym": "Rh",
		"ram": 103,
		"gid": 9,
		"pr": 5,
		"rel": [27, 46, 77, 44]
	},
	{
		"id": 46,
		"cn": "钯",
		"sym": "Pd",
		"ram": 106,
		"gid": 10,
		"pr": 5,
		"rel": [28, 47, 78, 45]
	},
	{
		"id": 47,
		"cn": "银",
		"sym": "Ag",
		"ram": 108,
		"gid": 11,
		"pr": 5,
		"rel": [29, 48, 79, 46]
	},
	{
		"id": 48,
		"cn": "镉",
		"sym": "Cd",
		"ram": 112,
		"gid": 12,
		"pr": 5,
		"rel": [30, 49, 80, 47]
	},
	{
		"id": 49,
		"cn": "铟",
		"sym": "In",
		"ram": 115,
		"gid": 13,
		"pr": 5,
		"rel": [31, 50, 81, 48]
	},
	{
		"id": 50,
		"cn": "锡",
		"sym": "Sn",
		"ram": 119,
		"gid": 14,
		"pr": 5,
		"rel": [32, 51, 82, 49]
	},
	{
		"id": 51,
		"cn": "锑",
		"sym": "Sb",
		"ram": 122,
		"gid": 15,
		"pr": 5,
		"rel": [33, 52, 83, 50]
	},
	{
		"id": 52,
		"cn": "碲",
		"sym": "Te",
		"ram": 128,
		"gid": 16,
		"pr": 5,
		"rel": [34, 53, 84, 51]
	},
	{
		"id": 53,
		"cn": "碘",
		"sym": "I",
		"ram": 127,
		"gid": 17,
		"pr": 5,
		"rel": [35, 54, 85, 52]
	},
	{
		"id": 54,
		"cn": "氙",
		"sym": "Xe",
		"ram": 131,
		"gid": 18,
		"pr": 5,
		"rel": [36, 0, 86, 53]
	},
	{
		"id": 55,
		"cn": "铯",
		"sym": "Cs",
		"ram": 133,
		"gid": 1,
		"pr": 6,
		"rel": [37, 56, 87, 0]
	},
	{
		"id": 56,
		"cn": "钡",
		"sym": "Ba",
		"ram": 137,
		"gid": 2,
		"pr": 6,
		"rel": [38, 0, 88, 55]
	},
	{
		"id": 57,
		"cn": "镧",
		"sym": "La",
		"ram": 139,
		"gid": 3,
		"pr": 6,
		"rel": [39, 58, 0, 56]
	},
	{
		"id": 58,
		"cn": "铈",
		"sym": "Ce",
		"ram": 140,
		"gid": 3,
		"pr": 6,
		"rel": [39, 59, 0, 57]
	},
	{
		"id": 59,
		"cn": "镨",
		"sym": "Pr",
		"ram": 141,
		"gid": 3,
		"pr": 6,
		"rel": [39, 60, 0, 58]
	},
	{
		"id": 60,
		"cn": "钕",
		"sym": "Nd",
		"ram": 144,
		"gid": 3,
		"pr": 6,
		"rel": [39, 61, 0, 59]
	},
	{
		"id": 61,
		"cn": "钷",
		"sym": "Pm",
		"ram": 146,
		"gid": 3,
		"pr": 6,
		"rel": [39, 62, 0, 60]
	},
	{
		"id": 62,
		"cn": "钐",
		"sym": "Sm",
		"ram": 150,
		"gid": 3,
		"pr": 6,
		"rel": [39, 63, 0, 61]
	},
	{
		"id": 63,
		"cn": "铕",
		"sym": "Eu",
		"ram": 152,
		"gid": 3,
		"pr": 6,
		"rel": [39, 64, 0, 62]
	},
	{
		"id": 64,
		"cn": "钆",
		"sym": "Gd",
		"ram": 157,
		"gid": 3,
		"pr": 6,
		"rel": [39, 65, 0, 63]
	},
	{
		"id": 65,
		"cn": "铽",
		"sym": "Tb",
		"ram": 159,
		"gid": 3,
		"pr": 6,
		"rel": [39, 66, 0, 64]
	},
	{
		"id": 66,
		"cn": "镝",
		"sym": "Dy",
		"ram": 163,
		"gid": 3,
		"pr": 6,
		"rel": [39, 67, 0, 65]
	},
	{
		"id": 67,
		"cn": "钬",
		"sym": "Ho",
		"ram": 165,
		"gid": 3,
		"pr": 6,
		"rel": [39, 68, 0, 66]
	},
	{
		"id": 68,
		"cn": "铒",
		"sym": "Er",
		"ram": 167,
		"gid": 3,
		"pr": 6,
		"rel": [39, 69, 0, 67]
	},
	{
		"id": 69,
		"cn": "铥",
		"sym": "Tm",
		"ram": 169,
		"gid": 3,
		"pr": 6,
		"rel": [39, 70, 0, 68]
	},
	{
		"id": 70,
		"cn": "镱",
		"sym": "Yb",
		"ram": 173,
		"gid": 3,
		"pr": 6,
		"rel": [39, 71, 0, 69]
	},
	{
		"id": 71,
		"cn": "镥",
		"sym": "Lu",
		"ram": 175,
		"gid": 3,
		"pr": 6,
		"rel": [39, 72, 0, 70]
	},
	{
		"id": 72,
		"cn": "铪",
		"sym": "Hf",
		"ram": 178,
		"gid": 4,
		"pr": 6,
		"rel": [40, 73, 104, 71]
	},
	{
		"id": 73,
		"cn": "钽",
		"sym": "Ta",
		"ram": 181,
		"gid": 5,
		"pr": 6,
		"rel": [41, 74, 105, 72]
	},
	{
		"id": 74,
		"cn": "钨",
		"sym": "W",
		"ram": 184,
		"gid": 6,
		"pr": 6,
		"rel": [42, 75, 106, 73]
	},
	{
		"id": 75,
		"cn": "铼",
		"sym": "Re",
		"ram": 186,
		"gid": 7,
		"pr": 6,
		"rel": [43, 76, 107, 74]
	},
	{
		"id": 76,
		"cn": "锇",
		"sym": "Os",
		"ram": 190,
		"gid": 8,
		"pr": 6,
		"rel": [44, 77, 108, 75]
	},
	{
		"id": 77,
		"cn": "铱",
		"sym": "Ir",
		"ram": 192,
		"gid": 9,
		"pr": 6,
		"rel": [45, 78, 109, 76]
	},
	{
		"id": 78,
		"cn": "铂",
		"sym": "Pt",
		"ram": 195,
		"gid": 10,
		"pr": 6,
		"rel": [46, 79, 110, 77]
	},
	{
		"id": 79,
		"cn": "金",
		"sym": "Au",
		"ram": 197,
		"gid": 11,
		"pr": 6,
		"rel": [47, 80, 111, 78]
	},
	{
		"id": 80,
		"cn": "汞",
		"sym": "Hg",
		"ram": 201,
		"gid": 12,
		"pr": 6,
		"rel": [48, 81, 112, 79]
	},
	{
		"id": 81,
		"cn": "铊",
		"sym": "Tl",
		"ram": 204,
		"gid": 13,
		"pr": 6,
		"rel": [49, 82, 113, 80]
	},
	{
		"id": 82,
		"cn": "铅",
		"sym": "Pb",
		"ram": 207,
		"gid": 14,
		"pr": 6,
		"rel": [50, 83, 114, 81]
	},
	{
		"id": 83,
		"cn": "铋",
		"sym": "Bi",
		"ram": 209,
		"gid": 15,
		"pr": 6,
		"rel": [51, 84, 115, 82]
	},
	{
		"id": 84,
		"cn": "钋",
		"sym": "Po",
		"ram": 209,
		"gid": 16,
		"pr": 6,
		"rel": [52, 85, 116, 83]
	},
	{
		"id": 85,
		"cn": "砹",
		"sym": "At",
		"ram": 210,
		"gid": 17,
		"pr": 6,
		"rel": [53, 86, 117, 84]
	},
	{
		"id": 86,
		"cn": "氡",
		"sym": "Rn",
		"ram": 222,
		"gid": 18,
		"pr": 6,
		"rel": [54, 0, 118, 85]
	},
	{
		"id": 87,
		"cn": "钫",
		"sym": "Fr",
		"ram": 223,
		"gid": 1,
		"pr": 7,
		"rel": [55, 88, 0, 0]
	},
	{
		"id": 88,
		"cn": "镭",
		"sym": "Ra",
		"ram": 226,
		"gid": 2,
		"pr": 7,
		"rel": [56, 89, 0, 87]
	},
	{
		"id": 89,
		"cn": "锕",
		"sym": "Ac",
		"ram": 227,
		"gid": 3,
		"pr": 7,
		"rel": [0, 90, 0, 88]
	},
	{
		"id": 90,
		"cn": "钍",
		"sym": "Th",
		"ram": 232,
		"gid": 3,
		"pr": 7,
		"rel": [0, 91, 0, 89]
	},
	{
		"id": 91,
		"cn": "镤",
		"sym": "Pa",
		"ram": 231,
		"gid": 3,
		"pr": 7,
		"rel": [0, 92, 0, 90]
	},
	{
		"id": 92,
		"cn": "铀",
		"sym": "U",
		"ram": 238,
		"gid": 3,
		"pr": 7,
		"rel": [0, 93, 0, 91]
	},
	{
		"id": 93,
		"cn": "镎",
		"sym": "Np",
		"ram": 237,
		"gid": 3,
		"pr": 7,
		"rel": [0, 94, 0, 92]
	},
	{
		"id": 94,
		"cn": "钚",
		"sym": "Pu",
		"ram": 245,
		"gid": 3,
		"pr": 7,
		"rel": [0, 95, 0, 93]
	},
	{
		"id": 95,
		"cn": "镅",
		"sym": "Am",
		"ram": 243,
		"gid": 3,
		"pr": 7,
		"rel": [0, 96, 0, 94]
	},
	{
		"id": 96,
		"cn": "锔",
		"sym": "Cm",
		"ram": 247,
		"gid": 3,
		"pr": 7,
		"rel": [0, 97, 0, 95]
	},
	{
		"id": 97,
		"cn": "锫",
		"sym": "Bk",
		"ram": 247,
		"gid": 3,
		"pr": 7,
		"rel": [0, 98, 0, 96]
	},
	{
		"id": 98,
		"cn": "锎",
		"sym": "Cf",
		"ram": 251,
		"gid": 3,
		"pr": 7,
		"rel": [0, 99, 0, 97]
	},
	{
		"id": 99,
		"cn": "锿",
		"sym": "Es",
		"ram": 254,
		"gid": 3,
		"pr": 7,
		"rel": [0, 100, 0, 98]
	},
	{
		"id": 100,
		"cn": "镄",
		"sym": "Fm",
		"ram": 257,
		"gid": 3,
		"pr": 7,
		"rel": [0, 101, 0, 99]
	},
	{
		"id": 101,
		"cn": "钔",
		"sym": "Md",
		"ram": 256,
		"gid": 3,
		"pr": 7,
		"rel": [0, 102, 0, 100]
	},
	{
		"id": 102,
		"cn": "锘",
		"sym": "No",
		"ram": 254,
		"gid": 3,
		"pr": 7,
		"rel": [0, 103, 0, 101]
	},
	{
		"id": 103,
		"cn": "铹",
		"sym": "Lr",
		"ram": 257,
		"gid": 3,
		"pr": 7,
		"rel": [0, 104, 0, 102]
	},
	{
		"id": 104,
		"cn": "鈩",
		"sym": "Rf",
		"ram": 261,
		"gid": 4,
		"pr": 7,
		"rel": [72, 105, 0, 0]
	},
	{
		"id": 105,
		"cn": "钅杜",
		"sym": "Db",
		"ram": 262,
		"gid": 5,
		"pr": 7,
		"rel": [73, 106, 0, 104]
	},
	{
		"id": 106,
		"cn": "钅喜",
		"sym": "Sg",
		"ram": 263,
		"gid": 6,
		"pr": 7,
		"rel": [74, 107, 0, 105]
	},
	{
		"id": 107,
		"cn": "钅波",
		"sym": "Bh",
		"ram": 262,
		"gid": 7,
		"pr": 7,
		"rel": [75, 108, 0, 106]
	},
	{
		"id": 108,
		"cn": "钅黑",
		"sym": "Hs",
		"ram": 265,
		"gid": 8,
		"pr": 7,
		"rel": [76, 109, 0, 107]
	},
	{
		"id": 109,
		"cn": "钅麦",
		"sym": "Mt",
		"ram": 266,
		"gid": 9,
		"pr": 7,
		"rel": [77, 110, 0, 108]
	},
	{
		"id": 110,
		"cn": "鐽",
		"sym": "Ds",
		"ram": 269,
		"gid": 10,
		"pr": 7,
		"rel": [78, 111, 0, 109]
	},
	{
		"id": 111,
		"cn": "錀",
		"sym": "Rg",
		"ram": 272,
		"gid": 11,
		"pr": 7,
		"rel": [79, 112, 0, 110]
	},
	{
		"id": 112,
		"cn": "鎶",
		"sym": "Cn",
		"ram": 285,
		"gid": 12,
		"pr": 7,
		"rel": [80, 113, 0, 111]
	}
];

var groups = [
	"undefined",
	"I A",
	"II A",
	"III B",
	"IV B",
	"V B",
	"VI B",
	"VII B",
	"VIII",
	"VIII",
	"VIII",
	"I B",
	"II B",
	"III A",
	"IV A",
	"V A",
	"VI A",
	"VII A",
	"0"
];
